package com.gandong8.trace.web.domain.common;

import lombok.Getter;

public enum  ResultCode {
    SUCCESS(200, "操作成功"),
    NOT_FOUND(404, "页面不存在"),
    FAILED(500, "操作失败"),
    EXCEPTION(505, "页面异常"),
    ;
    @Getter
    private int code;
    @Getter
    private String msg;

     ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
